projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
924ea3f
)
* lisp/emacs-lisp/map.el (map-into): Better error message.
author
Nicolas Petton
<nicolas@petton.fr>
Sat, 18 Apr 2015 18:05:16 +0000
(20:05 +0200)
committer
Nicolas Petton
<nicolas@petton.fr>
Sat, 18 Apr 2015 18:07:34 +0000
(20:07 +0200)
lisp/emacs-lisp/map.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/map.el
b/lisp/emacs-lisp/map.el
index 9d2b4f718b58be9f7d40d82fe8f71bf078ca1a51..06fd7ad2957e90d65eb25acb8fecdee2974848f2 100644
(file)
--- a/
lisp/emacs-lisp/map.el
+++ b/
lisp/emacs-lisp/map.el
@@
-194,7
+194,7
@@
TYPE can be one of the following symbols: list or hash-table."
(pcase type
(`list (map-pairs map))
(`hash-table (map--into-hash-table map))
- (t (error "Not a map type name: %
s
" type))))
+ (t (error "Not a map type name: %
S
" type))))
(defmacro map--dispatch (spec &rest args)
"Evaluate one of the provided forms depending on the type of MAP.